using System;
using System.Collections.Generic;
using System.Text;

namespace Pegasus.UnitTests.Runtime.Remoting
{
    public class RemoteCustomRefType : MarshalByRefObject
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="RemoteCustomRefType"/> class.
        /// </summary>
        public RemoteCustomRefType()
        {
        }

        /// <summary>
        /// Adds one to the value passed in.
        /// </summary>
        /// <param name="x">The x.</param>
        /// <returns></returns>
        public int AddOne( int x )
        {
            return x + 1;
        }

        /// <summary>
        /// Appends one strings to the other.
        /// </summary>
        /// <param name="str1">The STR1.</param>
        /// <param name="str2">The STR2.</param>
        /// <returns></returns>
        public string AppendStrings( string str1, string str2 )
        {
            return str1 + str2;
        }
    }
}
